package com.gongye.courseselectionsystem.pojo.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author baorongchuan
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel("每名老师对应的学生")
public class ChooseCourseVo {
    @ColumnWidth(value = 16)
    @ExcelProperty("教师工号")
    @ApiModelProperty("教师工号")
    @TableField(value = "teacherJobNumber")
    private Integer teacherJobNumber;

    @ColumnWidth(value = 16)
    @ExcelProperty("教师姓名")
    @ApiModelProperty("教师姓名")
    @TableField(value = "name")
    private String name;

    @ColumnWidth(value = 20)
    @ExcelProperty("课程名称")
    @ApiModelProperty("课程名称")
    @TableField(value = "className")
    private String className;

    @ColumnWidth(value = 15)
    @ExcelProperty("学生姓名")
    @ApiModelProperty("创建人")
    @TableField(value = "createName")
    private String createName;
}
